# -*- coding:utf-8 -*-


from rest_framework.views import APIView
from Apps.common.response import SuccessResponse
import logging

from Apps.util.snowFlake import get_guid

logger = logging.getLogger("django")


class GuidView(APIView):

    def get(self, request):
        return SuccessResponse(str(get_guid()))
